<?php   
        include_once('PHPJasperXML/class/tcpdf/tcpdf.php');
        include_once('PHPJasperXML/class/PHPJasperXML.inc.php');
        include_once ('PHPJasperXML/setting.php');
        $xml =  simplexml_load_file("xml/cliente.jrxml");

        $PHPJasperXML = new PHPJasperXML();
        //$PHPJasperXML->debugsql=true;
        $PHPJasperXML->arrayParameter=array("idEmp"=>1);
        $PHPJasperXML->xml_dismantle($xml);
        $PHPJasperXML->transferDBtoArray($server,$user,$pass,$db);
        $PHPJasperXML->outpage("I");    //page output method I:standard output  D:Download file
?>